package com.embhealth.service;

import com.embhealth.entity.PageResult;
import com.embhealth.entity.QueryPageBean;
import com.embhealth.pojo.Menu;

import java.util.List;
import java.util.Map;

/**
 * menu服务接口
 */
public interface MenuService {
    public List<Map<String,Object>> findByUsername(String username);
    public PageResult findPage(QueryPageBean queryPageBean);
    public PageResult findAllMenByRole(Integer id,QueryPageBean queryPageBean);
    public PageResult queryPage(QueryPageBean queryPageBean);
    public Menu handleUpdate(Integer id);
    public void handleAdd(Menu menu);
    public void handleEdit(Menu menu);
    public boolean handleDelete(Integer id);
}
